﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucLienHe.ascx.cs" Inherits="TTMarketing.UserControl.LienHe.ucLienHe" %>
<asp:ObjectDataSource ID="odsNews" runat="server" SelectMethod="News_getOneByType" 
    TypeName="TTBusiness.ClassProject.clsBSBusiness">
    <SelectParameters>
        <asp:Parameter DefaultValue="6" Name="type" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
<telerik:RadListView ID="RadListView1" runat="server" DataSourceID="odsNews" 
    BorderWidth="0px" ItemPlaceholderID="ph" AllowPaging="True" PageSize="15" 
    Width="100%">
    <LayoutTemplate>
        <asp:PlaceHolder runat="server" id="ph" />
    </LayoutTemplate>
    <ItemTemplate>
         <table width="100%" id="News-l">
            <tr>
                <td align="left" valign="top">
                   <span style="font-size:20px; font-weight:bold;">
                    <%# Eval("Title") %>
                   </span>
                    <span >
                     (<%# Eval("Date") %>) </span>
                    </td>
            </tr>
             <tr>
                 <td align="left" valign="top" style="font-weight:bold;">
                     <asp:Label ID="Label2" runat="server" Text='<%# Eval("Summary") %>'></asp:Label>
                 </td>
             </tr>
             <tr>
                 <td align="left" valign="top">
                     <asp:Label ID="Label3" runat="server" Text='<%# Eval("Detail") %>'></asp:Label>
                 </td>
             </tr>
        </table>
    </ItemTemplate>
    <EmptyDataTemplate>
        <div class="RadListView RadListView_Default">
            <div class="rlvEmpty">
                There are no items to be displayed.</div>
        </div>
    </EmptyDataTemplate>
    
</telerik:RadListView>

